
import type { LowCodeDialogCFG, LowCodeDialogTableColumn, LowcodeRect, LowCodeWhereListItem } from "../interface";

export interface LowcodeCustomSQLState extends LowCodeDialogCFG {
  fCode?: string;
  mdCode?: string;
  listData?: any[];
  IsMult?: string;
  recordData?: { [key: string]: any };
  systemInfo?: any;
  navWrapRect?: LowcodeRect;
  btmRect?: LowcodeRect;
  fuzzyVal?: string;
  scrollViewStyle?:{ [key: string]: any };
  searchCardData?: { [key: string]: any };
  whereList?: LowCodeWhereListItem[];
  selectedVal?: { [key: string]: any }[];
  listitemStyle?: { [key: string]: any };
}

export interface LowcodeCustomSelectExtendParam {
  WhereDatas?: LowCodeWhereListItem[];
  Sql?: string;
  TargetServiceName?: string;
  RowData?: any,
  SortColumns?: LowCodeDialogTableColumn[];
}

export interface LowcodeCustomSelectReturn {
  RowItems?: any[]
}